Class TCellAreas

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCellAreas = class(TBaseCellAreas)

Description

Base class for objects that manipulates cell areas.

Hierarchy

Overview

Methods

Public function Last: TCellArea;
Public procedure Copy(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); override;
Public procedure Delete(const Col1,Row1,Col2,Row2: integer); overload; override;
Public function Include(const Col1,Row1,Col2,Row2: integer): TCellArea; override;
Public procedure Move(const DeltaCol,DeltaRow: integer); overload; override;
Public procedure Move(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); overload; override;

Description

Methods

Public function Last: TCellArea;
 
Public procedure Copy(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); override;

Copies cell areas. Copies the cell areas that intersects the area given by Col1,Row1, Col2,Row2. The areas are copied DeltaCol and DeltaRow offset from their current position. DeltaCol and DeltaRow can be negative for copying left/up. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row. ˜param DeltaCol How many columns to the right (positive) or left (negative) the areas shall be copied. ˜param DeltaRow How many rows down (positive) or up (negative) the areas shall be copied.

Public procedure Delete(const Col1,Row1,Col2,Row2: integer); overload; override;

Delete areas. Delete the areas that intersects the area given by Col1,Row1,Col2,Row2. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row.

Public function Include(const Col1,Row1,Col2,Row2: integer): TCellArea; override;

Includes areas. All areas that intersects the area given by Col1,Row1,Col2,Row2 are kept. All others are deleted. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row.

Public procedure Move(const DeltaCol,DeltaRow: integer); overload; override;

Moves areas. Move all areas by the offset DeltaCol,DeltaRow. DeltaCol and DeltaRow can be negative for moving left/up. ˜param DeltaCol How many columns to the right (positive) or left (negative) the areas shall be moved. ˜param DeltaRow How many rows down (positive) or up (negative) the areas shall be moved.

Public procedure Move(const Col1,Row1,Col2,Row2: integer; const DeltaCol,DeltaRow: integer); overload; override;

Moves areas. Move all areas that intersects the area given by Col1,Row1,Col2,Row2, by the offset DeltaCol,DeltaRow. DeltaCol and DeltaRow can be negative for moving left/up. ˜param Col1 Left column. ˜param Row1 Top row. ˜param Col2 Right column. ˜param Row2 Bottom row. ˜param DeltaCol How many columns to the right (positive) or left (negative) the areas shall be moved. ˜param DeltaRow How many rows down (positive) or up (negative) the areas shall be moved.


Generated by PasDoc 0.12.1 on 2013-03-18 12:36:47